import request from '@/utils/request'

// 团队月度费用分页
export function getList(params) {
  return request({
    url: '/departmentAdministrativeFee/selectPage',
    method: 'POST',
    params
  })
}

// 月度费用修改查询
export function selectDepartmentAdministrativeFee(params) {
  return request({
    url: '/departmentAdministrativeFee/findId',
    method: 'POST',
    params
  })
}

// 修改
export function updateDepartmentAdministrativeFee(data) {
  return request({
    url: '/departmentAdministrativeFee/update',
    method: 'post',
    data
  })
}

// 模糊查询团队下拉信息
export function selectTeam(params) {
  return request({
    url: '/administrative/teams/getTeamIdAndNameListByName',
    method: 'post',
    params
  })
}

// 物业价格List
export function selectPropertyData(params) {
  return request({
    url: '/propertyData/selectPage',
    method: 'post',
    params
  })
}

// 导入
export function batchUpdateInfo(data) {
  return request({
    url: '/departmentAdministrativeFee/batchUpdateInfo',
    method: 'post',
    data
  })
}

